package com.tnr.scgcxx.dao.safty;

import com.tnr.scgcxx.dto.UserDto;
import com.tnr.scgcxx.model.User;
import org.apache.ibatis.annotations.Select;

public interface LoginDao {

    @Select("select u_id,u_id from sys_user where u_id=#{u_id}and u_pwd=#{u_pwd}")
    User findUserByIdAndPwd(UserDto dto);
    @Select("select * from sys_user")
    User findUser(UserDto dto);
}
